﻿<%@ Page Language="C#" AutoEventWireup="true" 
CodeBehind="RecepcionDocReadForm.aspx.cs" 
Inherits="UILGestion.ObraAdmin.RecepcionDoc.RecepcionDocReadForm" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Assembly="WebLib" Namespace="WebLib" TagPrefix="lib" %>
<%@ Register assembly="EstandarControl" namespace="EstandarControl" tagprefix="cc1" %>
<%@ Register src="~/Control/menuObraCtrl.ascx" tagname="menuObraCtrl" tagprefix="uc1" %>

<%@ Import Namespace="System.Web.Script.Services" %>
<%@ Import Namespace="System.Web.Services" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <link href="../../css/main.css" rel="stylesheet" type="text/css" />
    <link href="../../resources/css/main.css" rel="stylesheet" type="text/css" />
     <link rel="stylesheet" type="text/css" href="../../estilos/_common/styles/fonts.css" />
 <link rel="stylesheet" type="text/css" href="../../estilos/_common/styles/global.css" />
 <link rel="stylesheet" type="text/css" href="../../estilos/_common/styles/theme.css" />
    <title>Recepcion Documento</title>
    <script src="../../Scripts/SearchResult.js" type="text/javascript"></script>
<script type="text/javascript">
<!--

    function goPage() {

        var idObra = document.getElementById("idObra").value;
        var internalid = document.getElementById("idComparativoProv").value;
        window.open('../../Rpt/PrintForm.aspx?type=COMPARATIVO&idComparativoProv=' + 
        internalid.toString() );
    }

-->
</script>    
    </head>
    
    <body>
        <form id="form1" runat="server" autocomplete="off">
            <uc1:menuObraCtrl ID="menuObraCtrl1" runat="server" />
                <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" EnableScriptGlobalization="true"  
                    EnablePartialRendering="true"></asp:ToolkitScriptManager>
  
   <asp:Panel ID="pnlMain" runat="server" Visible="false"
  CssClass="Heading secTitle AreaHeading ms-crm-List-Header">
  
                 <asp:Label ID="Label1" runat="server" Text="RECEPCION DOCUMENTO" 
                         style="font-size: large; color: #960818"></asp:Label>


</asp:Panel>
 <asp:Panel ID="PanelButtom" runat="server"     class="ms-crm-Form-Body" >           
  <input id="idObra" type="hidden" runat="server" />
       <input id="internalid" type="hidden" runat="server" />
       <input id="idComparativoProv" type="hidden" runat="server" />
       <input id="idComparativo" type="hidden" runat="server" />
                          <table  width="100%">
                 <tr>
                 <td  width="80%">
                 
                   <table >
<tr>
<td>
    <asp:Button ID="refreshButton" runat="server" Text="Restablecer"   CssClass="ms-crm-List-Header"
        
        onclick="btnContinue_OnClick"    /></td>

<td>
    <asp:Button ID="nuevoButton" runat="server" Text="Nuevo"   CssClass="ms-crm-List-Header"
        onclick="btnContinue_OnClick"  /></td>
<td>
 <asp:Button ID="EliminarButton" runat="server" Text="Eliminar"    CssClass="ms-crm-List-Header"
   OnClientClick="return confirm('Usted quiere eliminar?')" onclick="btnContinue_OnClick" 
  
        />
   </td>
 
 <td>
   </td>



 <td>
    </td> 

        

 <td>

 


        <%--
          <asp:HyperLink runat= "server"           Text="Imprimir"   Target="_blank"  ID="OrdenCompra" l
                NavigateUrl='<%# "../Rpt/PrintForm.aspx?idOrdenCompra=" + internalid.Value+ 
                 "&idObra=" + idObra.Value%>' 
               />   
--%>
        </td>
        <td></td>
        <td>
       
        </td>
</tr>
</table>
                 </td>
                 <td>
                   <table align="left" >
            
            <tr>
                <td>
                    <asp:Button ID="anteriorButton" runat="server"  Text="Anterior"  OnClick="btnContinue_OnClick"  CssClass="ms-crm-List-Header"/>
                </td>
                <td>
                    <asp:Button ID="siguienteButton" runat="server"  Text="Siguiente" OnClick="btnContinue_OnClick"  CssClass="ms-crm-List-Header"/>
                </td>
            </tr>
        </table>  
                 </td>
                 </tr>
                 </table>
                 
    </asp:Panel>
    <asp:Panel ID="PanelBody" runat="server"  BackColor="white" >
      
      <asp:Panel  runat="server"    
        ID="Ordenpanel"     GroupingText="Orden de Compra" BackColor="white"  >

                 <table>

                
                 <tr   >
                 <td width="100px" valign="top" align="right" >
                     Fecha Emision:</td>
                 <td width="200px"  valign="top" >
                     <asp:Label ID="fechaOCLabel" runat="server"></asp:Label>
                     </td>
                 <td width="150px"  valign="top" align="right" >

                     Moneda:</td>
                 <td Width="200px"  valign="top" >

                     <asp:Label ID="monedaLabel" runat="server"></asp:Label>
                     </td>
                     <td  valign="top" width="30px" align="right">
                         <strong>Neto:</strong></td>
                     <td  valign="top"  align="right">
                         <asp:Label ID="simbolLabel1" runat="server" Text="Label"></asp:Label>
                         <asp:Label ID="netoLabel" runat="server"></asp:Label>
                     </td>
                 </tr>
                   <tr   >
                 <td align="right" >
                     Num Orden:</td>
                 <td >
                     <input id="idordenCompra" type="hidden" runat="server" />
                     
                     <asp:LinkButton ID="docRefLabel" runat="server" ForeColor="Blue"></asp:LinkButton>
                     
                 </td>
                 <td align="right" valign="top" width="150px">

                     Proveedor:</td>
                 <td valign="top">
                                             
                     <asp:HyperLink ID="ordenCompraHLk" runat="server" ForeColor="Blue"></asp:HyperLink>
                     
                 </td>
                       <td valign="top" align="right">
                           <strong>IGV:</strong></td>
                       <td valign="top" align="right">
                           <asp:Label ID="simbolLabel2" runat="server" Text="Label"></asp:Label>
                           <asp:Label ID="igvtotalLabel" runat="server"></asp:Label>
                       </td>
                 </tr>


                   <tr   >
                 <td align="right" >
                     Comparativo:</td>
                 <td >
                         
                     
                     <asp:HyperLink ID="comparativoHPL" runat="server"  ForeColor="Blue">
                         </asp:HyperLink>
                            &nbsp;&nbsp; <a href="#" onclick="goPage();return true"  style="color:Blue">Imprimir</a>
                     </td>
                 <td align="right" valign="top" width="150px" >

                     Forma Pago:</td>
                 <td valign="top" >

                             
                     <asp:Label ID="formaPagoLabel" runat="server"></asp:Label>

                             
                 </td>
                       <td valign="top" align="right" style="font-weight: 700">
                           Total:</td>
                       <td valign="top" align="right">
                           <asp:Label ID="simbolLabel3" runat="server" Text="Label"></asp:Label>
                           <asp:Label ID="totalTextBox" runat="server"></asp:Label>
                       </td>
                 </tr>


                     <tr>
                         <td align="right">
                             Factura Ref:</td>
                         <td>
                             <asp:HyperLink ID="docRefHLK" runat="server" ForeColor="Blue" />
                         </td>
                         <td align="right" valign="top" width="150px">
                             &nbsp;</td>
                         <td valign="top">
                             &nbsp;</td>
                         <td align="right" style="font-weight: 700" valign="top">
                             &nbsp;</td>
                         <td align="right" valign="top">
                             &nbsp;</td>
                     </tr>


                  </table>
 </asp:Panel>


           <asp:Panel ID="Panel4" runat="server"    BackColor="white" 
               GroupingText="Facturacion">






    

            <table class="ms-crm-MaxWidth">
                <tr>
                    <td>
                        <table class="ms-crm-MaxWidth">
                            <tr>
                                <td align="right" width="100px" >
                     F/R:</td>
                                <td width="200px" >
                     <asp:Label ID="frLabel" runat="server"></asp:Label>
                     
                          
                                </td>
                                <td align="right" width="150px" >
                                    Glosa:</td>
                                <td >
                                    <asp:Label ID="glosaLabel" runat="server" Text="" style="font-weight: 700"></asp:Label>
                                </td>
                                <td rowspan="5">
                                <asp:Panel runat="server" ID="factPNL">

                                 <table class="PanelTotales">
                                        <tr>
                                            <td align="right" width="80px">
                                                <b>Base Imponible: </b>
                                            </td>
                                            <td align="right" width="100px">
                                                <asp:Label ID="totalNetoTXT" runat="server" DataType="Double"  
                                                    TabIndex="10"/>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="right" width="80px">
                                                <b>Base Inafecto:</b>
                                                </td>
                                            <td align="right" width="100px">
                                                <asp:Label ID="baseInafectoLBL" runat="server" DataType="Double" TabIndex="10" 
                                                     />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="right" width="80px">
                                                <b>IGV 18%: </b>
                                            </td>
                                            <td align="right" width="100px">
                                                <asp:Label ID="IGVTXT" runat="server" DataType="Double" TabIndex="11" 
                                                     />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="right" width="80px">
                                                <b>ISC:</b> </td>
                                            <td align="right" width="100px">
                                                <asp:Label ID="iscLBL" runat="server" DataType="Double" TabIndex="10" 
                                                     />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="right" width="80px">
                                                <strong>Total:</strong></td>
                                            <td align="right" width="100px">
                                                
                                                <asp:Label ID="totalFinalTXT" runat="server" DataType="Double"  
                                                    TabIndex="12" />
                                                
                                                
                                            </td>
                                        </tr>
                                    </table>
                                    </asp:Panel>
                                    <asp:Panel runat="server" ID="honorarioPNL">
                                       <table class="PanelTotales">
                                        <tr>
                                            <td align="right" width="80px">
                                                <b>Importe Honorario: </b>
                                            </td>
                                            <td align="right" width="100px">
                                                <asp:Label ID="importeHonorarioLBL" runat="server" DataType="Double"  
                                                    TabIndex="10"/>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="right" width="80px">
                                              <b>  Ret. rent 4ta.:</b>
                                                </td>
                                            <td align="right" width="100px">
                                                <asp:Label ID="renta4taLBL" runat="server" DataType="Double" TabIndex="10" 
                                                     />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="right" width="80px">
                                                <strong>Total:</strong></td>
                                            <td align="right" width="100px">
                                                
                                                <asp:Label ID="totalLBL" runat="server" DataType="Double"  
                                                    TabIndex="12" />
                                                
                                                
                                            </td>
                                        </tr>
                                    </table>
                                    </asp:Panel>
                                   </td>
                            </tr>
                            <tr>
                                <td align="right" width="100px">
                             Fecha:</td>
                                <td width="200px">
                             <asp:Label ID="fechaTextBox" runat="server"></asp:Label>
                                </td>
                                <td align="right" width="150px">
                                    Fecha Emision:</td>
                                <td>
                                    <asp:Label ID="fechaEmisonTextBox" runat="server" AutoPostBack="True"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" width="100px">
                             Tipo Documento:</td>
                                <td width="200px">
                             <asp:Label ID="tipoDocDropDownList" runat="server" 
                                 Width="150px">
                             </asp:Label>
                                </td>
                                <td align="right" width="150px">
                                    Fecha Vencimiento:</td>
                                <td>
                                    <asp:Label ID="fechaVencimTextBox" runat="server">
                             </asp:Label>
                                </td>
                            </tr>
                            <tr>
                         <td align="right"  width="100px">
                             Documento:</td>
                                <td width="200px">
                             <asp:Label ID="documentoTextBox" runat="server" 
                                 Width="150px"></asp:Label>
                                </td>
                                <td align="right" width="150px">
                                    Tipo&nbsp; Cambio $:</td>
                                <td>
                                    <asp:Label ID="TipoCambioLabel" runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                         <td align="right" width="100px">
                             Moneda:</td>
                                <td width="200px">
                             <asp:Label ID="monedaDropDownList" runat="server" 
                                 Width="150px">
                             </asp:Label>
                                </td>
                                <td align="right" width="150px">
                                    Fecha Pago:</td>
                                <td>
                                    <asp:Label ID="FechaPagoTXT" runat="server" AutoPostBack="True"></asp:Label>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>



            </asp:Panel> 

                 </asp:Panel>

    

    </form>
</body>
</html>
